<template>
  <div>
    <k-form-build :value="jsonData" />
  </div>
</template>

<script>

export default {
  data () {
    return {
      jsonData: {
        list: [
          {
            type: 'demo',
            label: '自定义组件',
            options: {
              multiple: false,
              disabled: false,
              width: '100%',
              min: 0,
              max: 99,
              clearable: true,
              placeholder: '请选择',
              showSearch: false
            },
            model: 'demo_1656400584756',
            key: 'demo_1656400584756',
            rules: [
              {
                required: false,
                message: '必填项'
              }
            ]
          }
        ],
        config: {
          layout: 'horizontal',
          labelCol: {
            span: 4
          },
          wrapperCol: {
            span: 18
          },
          hideRequiredMark: false,
          customStyle: ''
        }
      }
    }
  }
}

</script>
